﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Encryption
{
    public partial class MainForm : Form
    {
        CaesarForm caesarForm;
        PlayFairForm playForm;
        HillForm hillForm;
        public MainForm()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            caesarForm = null;
            playForm = null;
            hillForm = null;
        }

        private void CaesarBtn_Click(object sender, EventArgs e)
        {
            caesarForm = new CaesarForm();
            caesarForm.Show();
        }

        private void PlayFairBtn_Click(object sender, EventArgs e)
        {
            playForm = new PlayFairForm();
            playForm.Show();
        }

        private void HillBtn_Click(object sender, EventArgs e)
        {
            hillForm = new HillForm();
            hillForm.Show();
        }

    }
}
